import Vue from 'vue'
import Router from 'vue-router'
import World from "../components/world";
import China from "../components/china"
Vue.use(Router)

export default new Router(
  {
    routes: [

    {
      path:'/world',
      name:'World',
      component:World
    }, {
            path:'/china',
            name:'China',
            component:China
    },
        {
            path:'/',
            redirect:'/world'
        }
  ]

})

